package com.jack.payment.entity.generate.sys;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.jack.payment.entity.common.CommonParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "具体权限分配")
@JsonInclude(value=JsonInclude.Include.NON_NULL)
public class SysRoleResourceModel extends CommonParam implements Serializable {
    @Schema(description = "角色id")
    private Long roleId;
    @Schema(description = "基础路由 或 事件 id")
    private Long resourceId;
}
